package com.mdd.common.enums;

public enum SystemDevCrontabEnum {

    COMMAND_ORDER_CHECK("order_close", "订单检查"),

    COMMAND_REFUND_ORDER_CHECK("order_refund", "退款单检查"),

    COMMAND_COUPON_RECEIVE_TIME_CHECK("coupon_receive_time_check", "优惠券可领取时间检查"),

    COMMAND_COUPON_RECEIVE_CHECK("coupon_close", "优惠券过期检查");

    private final String code;
    private final String msg;

    SystemDevCrontabEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    /**
     * 获取状态码
     *
     * @author fzr
     * @return Long
     */
    public String getCode() {
        return this.code;
    }

    /**
     * 获取提示
     *
     * @author fzr
     * @return String
     */
    public String getMsg() {
        return this.msg;
    }
}
